package com.yanti.domain.entity;

import java.time.LocalDateTime;
import java.util.Date;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * 用户角色表(UserRoleRel)表实体类
 *
 * @author luo
 * @since 2025-04-10 15:14:28
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("user_role_rel")
public class UserRoleRel  {
    //主键ID
    @TableId
    private Long id;

    //用户ID
    private Long userId;
    //角色ID
    private Long roleId;
    //创建时间
    private LocalDateTime createTime;
    //更新时间
    private LocalDateTime updateTime;
    //逻辑删除(0：未删除 1：已删除)
    private Boolean isDeleted;

}

